<%-- 
    Document   : mrgrid.jsp
    Description: The start page of the submission process. User uploads MTZ here
    Created on : Mar 27, 2008, 11:59:34 AM
    Author     : Mark Bate
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page session="true"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
  <head>
        <title>MR Grid Submission Page 1/2</title>
        <link href="styles/pxgrid_style.css" rel="stylesheet" type="text/css" />
        <script src="javascript/spacegroups.js" type="text/javascript"></script>
        <script src="javascript/ajax.js" type="text/javascript"></script>
  </head>
  <body>
        <%@ include file="header_banner.html" %>
        <div id="page">
            <%@ include file="menubar.html" %> 
            <!-- start content -->
            <div id="content">
                    <div id="comparison_ad">
                        <h2 class="comparison">How does MR Grid compare to running Phaser normally?</h2>

                        <p>We performed some testing to give us a rough idea as to the speed-up factor using Phaser via MR Grid offers compared to using Phaser in the standard way.
                        <br/>You can view the results <a href="comparison.jsp">here</a>.</p>
                    </div>
                    <form id="phaserForm" name="phaserForm" method="POST" action="submission_page2.jsp" enctype="multipart/form-data">
                        <!-- Information about the MTZ File -->
                        <div id="MTZFormSection" class="formSection">
                            <!-- MAX_FILE_SIZE must precede the file input field -->
                            <div id="MTZFormSectionHeader" class="formSectionHeader">Upload Structure Factors (MTZ Format)</div>
                            <div id="MTZFormSectionContent" class="formSectionContent">
                                <p>Please upload the MTZ file you wish to use:</p>
                                <input type="file" name="MTZFile" id="MTZFile"/>
                                <br/>
                                <br/>
                                <input type="submit" name="Submit" id="PhaserFormSubmit" value="Submit" class="inputButton"/>
                            </div>
                        </div>
                    </form>
                    
                    <div id="sampleFiles">
                        <h2 class="sampleDataHeader">Looking for sample data?</h2>
                        <div class="sampleDataImage">
                            <a href="sampledata/2H74_structure_factors.mtz"><img src="images/example_mtz.gif" border="0"></a>
                        </div>
                        <div class="sampleDataInstructions">
                            <p class="sampleDataInstructions">This file contains the structure factors for <a href="http://www.rcsb.org/" target="_blank">PDB</a> entry <a href="http://www.rcsb.org/pdb/explore/explore.do?structureId=2H7A">2H74</a>, a Thioredoxin Mutant, in MTZ file format.
                            <br/>You should download the file, then enter it in the "Upload structure factors" section above.
                            <br/><b>Note:</b> You may need to right-click the link and select "Download Linked File".</p>
                        </div>
                        <br style="clear:both;" />
                        
                        <div class="sampleDataImage">
                            <a href="sampledata/example.zip"><img src="images/example_zip.gif" border="0"></a>
                        </div>
                        <div class="sampleDataInstructions">
                            <p class="sampleDataInstructions">This Zip archive contains the <a href="http://www.rcsb.org/" target="_blank">PDB</a> entries for <a href="http://www.rcsb.org/pdb/explore/explore.do?structureId=2I4A">2I4A</a> and <a href="http://www.rcsb.org/pdb/explore/explore.do?structureId=2O7K">2O7K</a>.
                            <br/>You should download the archive, then enter it in the "Upload structure factors" section on the following page.
                            <br/><b>Note:</b> You may need to right-click the link and select "Download Linked File".</p>
                        </div>
                        <br style="clear:both;" />
                    </div>
                    
            </div>
            <!-- end content -->
        </div>
    </body>  
</html>
